<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-hans" dir="ltr"
  >

<head profile="http://www.w3.org/1999/xhtml/vocab">
  <!--[if IE]><![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://drupalct.org/sites/default/files/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="canonical" href="/drupal-site-building/core-module-changes-in-drupal8.html" />
<meta name="Generator" content="Drupal 7 (http://drupal.org)" />
<link rel="shortlink" href="/node/178" />
  <title>使用 Drupal 8 之前你应该了解的内核模块变化 | Drupal 社区团队</title>
  <meta name="MobileOptimized" content="width">
  <meta name="HandheldFriendly" content="true">
  <meta name="viewport" content="width=device-width">
  <link type="text/css" rel="stylesheet" href="./Css/css__EReu3pbnwubXKWE8wuvQT1tK_WSqC3PQW1eWZWLljGg__tSuQfLoEFtF7Hstjmu_WNfKNX2WwGm1Tx5jS-nP0SVc__LB5Z6Tg91OTzo44Ekv_obaj937oxBL5Ysq--Qq79p98.css" media="all" />

<!--[if lte IE 7]>
<link type="text/css" rel="stylesheet" href="//drupalct.org/sites/all/themes/team/css/ie.css?o91piz" media="all" />
<![endif]-->

<!--[if IE 6]>
<link type="text/css" rel="stylesheet" href="//drupalct.org/sites/all/themes/team/css/ie6.css?o91piz" media="all" />
<![endif]-->
  </head>
<body class="html not-front not-logged-in one-sidebar sidebar-first page-node page-node- page-node-178 node-type-writing footer-columns" >
  <div id="skip-link">
    <a href="#main-content" class="element-invisible element-focusable">跳转到主要内容</a>
  </div>
    <div id="page-wrapper"><div id="page">

  <div id="header" class="without-secondary-menu"><div class="section clearfix">

          <a href="/" title="首页" rel="home" id="logo">
        <img src="./Picture/logo_0.png" alt="首页" />
      </a>
    
          <div id="name-and-slogan" class="element-invisible">

                              <div id="site-name" class="element-invisible">
              <strong>
                <a href="/" title="首页" rel="home"><span>Drupal 社区团队</span></a>
              </strong>
            </div>
                  
                  <div id="site-slogan" class="element-invisible">
            打造一站式 Drupal 中文服务社区          </div>
        
      </div> <!-- /#name-and-slogan -->
    
    
          <div id="main-menu" class="navigation">
        <h2 class="element-invisible">主菜单</h2><ul id="main-menu-links" class="links clearfix"><li class="menu-215 first"><a href="/about">关于我们</a></li>
<li class="menu-377"><a href="/project" title="Drupal 兼职与外包项目">兼职外包</a></li>
<li class="menu-458"><a href="/writing" title="Drupal优质博客文章及教程">博文教程</a></li>
<li class="menu-369 last"><a href="/download" title="Drupal社区团队APP下载">APP下载</a></li>
</ul>      </div> <!-- /#main-menu -->
    
    
  </div></div> <!-- /.section, /#header -->

  
  
  <div id="main-wrapper" class="clearfix"><div id="main" class="clearfix">

          <div id="breadcrumb"><h2 class="element-invisible">你在这里</h2><div class="breadcrumb"><span class="inline odd first"><a href="/">首页</a></span> <span class="delimiter">»</span> <span class="inline even"><a href="/writing">Drupal 教程文档</a></span> <span class="delimiter">»</span> <span class="inline odd last"><a href="http://drupalct.org/drupal-site-building/core-module-changes-in-drupal8.html">使用 Drupal 8 之前你应该了解的内核模块变化</a></span></div></div>
    
          <div id="sidebar-first" class="column sidebar"><div class="section">
          <div class="region region-sidebar-first">
    <div id="block-boxes-drupal-reader-qq-group" class="block block-boxes block-boxes-simple">

    <h2>Drupal博文阅读QQ群</h2>
  
  <div class="content">
    <div id='boxes-box-drupal_reader_qq_group' class='boxes-box'><div class="boxes-box-content"><p>QQ群：146712481<br />（入群口令：DrupalCT）</p>
<p><a href="http://shang.qq.com/wpa/qunwpa?idkey=f820d258a62222d2364126815b84d7246a8a84b2cb8f2bb5bd29be8538d333ba" target="_blank"><img title="Drupal 博文分享" src="./Picture/group.png" alt="Drupal 博文分享" border="0" /></a></p></div></div>  </div>
</div>
<div id="block-boxes-drupalct-app" class="block block-boxes block-boxes-simple">

    <h2>下载APP</h2>
  
  <div class="content">
    <div id='boxes-box-drupalct_app' class='boxes-box'><div class="boxes-box-content"><p><a href="http://drupalct.org/download" target="_blank"><img src="./Picture/drupalct_app.png" alt="下载Drupal社区团队APP" /></a></p></div></div>  </div>
</div>
  </div>
      </div></div> <!-- /.section, /#sidebar-first -->
    
    <div id="content" class="column"><div class="section">
            <a id="main-content"></a>
                    <h1 class="title" id="page-title">
          使用 Drupal 8 之前你应该了解的内核模块变化        </h1>
                          <div class="tabs">
                  </div>
                          <div class="region region-content">
    <div id="block-system-main" class="block block-system">

    
  <div class="content">
    <div id="node-178" class="node node-writing node-promoted node-full clearfix">

      
  
    
  <div class="content clearfix">
    <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>　　距离 Drupal 8 正式发布的时间越来越近，有关 Drupal 8 的咨询和文章也越来越多。除了 Drupal 8 的新特性是大家特别关注的一块之外，D8 中核心模块的变化也是相当引人注意的。</p>
<p>　　本文整理了 D8 相对于 D7 的一些核心模块变化，包括从核心中移除的模块，也包括加入到核心中的模块，以及因为D8提供了类似模块而无需再使用的第三方模块（关于 D7 相对于 D6 的核心模块变化可阅读《<a href="http://lugir.com/drupal/documentation/drupal-6-modules-in-drupal-7-core.html">整合到Drupal 7 核心的Drupal 6 模块</a>》一文）</p>
<p>　　下图为Drupal8 内核语言模块及功能相关规划（点击看大图）</p>
<p><a href="http://drupal.org/files/Drupal8LanguageModules_0.png" rel="shadowbox[gallery]" target="_blank"><img style="width: 560px; height: 235px;" src="./Picture/Drupal8LanguageModules_0.png" alt="Drupal8 内核语言模块及功能相关规划" /></a></p>
<p>　　<strong>说明：</strong>因为 D8 还未正式发布，所以以下模块状态依然存在变化的可能 ^_^</p>
<h2>从 Drupal 8 内核中移除的模块</h2>
<ul><li><strong>Blog</strong> - 从核心移除，作为独立的贡献模块 Blog (<a href="http://drupal.org/project/blog" target="_blank">http://drupal.org/project/blog</a>)。原本 Drupal 安装起来就什么都不是，现在连 Blog 功能也作为贡献模块，想必新手用户会更困惑（呵呵）</li>
<li><strong>Dashboard</strong> - 此模块现在是 Homebox 了（<a href="http://drupal.org/project/homebox" target="_blank">http://drupal.org/project/homebox</a>）。本来用得少，也不是很必要的模块，移出内核是正确的。</li>
<li><strong>Open ID</strong> - 移除</li>
<li><strong>Poll</strong> - 也作为贡献模块，自立门户了。Poll （<a href="http://drupal.org/project/poll" target="_blank">http://drupal.org/project/poll</a>）。投票功能不是必备，按需要安装挺好。</li>
<li><strong>PHP Filter</strong> - 作为贡献模块 PHP （<a href="http://drupal.org/project/php" target="_blank">http://drupal.org/project/php</a>），这一功能在一些简单的情况下倒可能时不时用到，一旦要独立安装模块，可能今后会直接在内容中写代码的情况会少很多了，安全性有些提升 :D</li>
<li><strong>Profile</strong> - 从D7时代开始就一直不如 <a href="http://drupal.org/project/profile2" target="_blank">Profile2</a>，现在从内核移除算是给 Profile2 让位了</li>
<li><strong>Trigger</strong> - 从内核移除，建议使用 <a href="https://drupal.org/project/rules" target="_blank">Rules</a> 模块，且 D8 考虑 Trigger -&gt; Rules 的迁移，所以使用 Trigger 的朋友不要着急</li>
<li><strong>Translation (Content Translate)</strong> - 一方面是因为其功能与贡献模块 <a href="https://drupal.org/project/entity_translation" target="_blank">Entity Translation</a> 功能相似，另一方面也是因为 D8 有了新的翻译管理体系</li>
</ul><p><span style="color: #ff0000;"><em>* 最新信息可以访问 Drupal 官方说明页面</em></span>：<a href="https://drupal.org/node/2116417" target="_blank">https://drupal.org/node/2116417</a></p>
<h2>加入或部分功能加入到 Drupal 8 内核的贡献/第三方模块</h2>
<p>以下模块的功能（或部分功能）已经被 D8 自身的功能所涵盖</p>
<ul><li><a href="http://drupal.org/project/admin_views" target="_blank">Admin Views</a> - 因为 Views 深度整合到了 D8 的内核，后台管理页面自然也都使用 Views 来进行展示，Admin Views 到 D8 时代也算是功成身退了</li>
<li><a href="http://drupal.org/project/bean" target="_blank">Bean</a> - D8 中的区块也是 Entity 了，可以方便的添加字段</li>
<li><a href="https://drupal.org/project/caption_filter" target="_blank">Caption Filter</a> - 因为可视化编辑器的加入，D8 的编著体验有明显提升，所以为图片添加标题文字不在话下了</li>
<li><a href="https://drupal.org/project/ckeditor" target="_blank">CKEditor</a> - CKEditor 现在是 D8 内置的可视化编辑器了</li>
<li><a href="https://drupal.org/project/date" target="_blank">Date</a> - 常用的日期字段也纳入内核。但不包含循环日期，此功能依然可以从贡献模块 Date 中获得</li>
<li><a href="https://drupal.org/project/DS" target="_blank">Display Suite</a> - D8 新的布局系统使得管理员可以自定义显示模式（View Modes）</li>
<li><a href="https://drupal.org/project/email" target="_blank">Email</a> - 现在内容提供了简单的 Email 字段功能</li>
<li><a href="https://drupal.org/project/entity_view_mode" target="_blank">Entity view mode</a> - D8 新的布局系统可以为所有 Entity 定义显示模式</li>
<li><a href="https://drupal.org/project/entityreference" target="_blank">Entity Reference</a> - D8 提供了“关联”（Reference）字段</li>
<li><a href="https://drupal.org/project/features" target="_blank">Features</a> - D8 新建的配置管理功能可以替代 Features 在配置管理这方面的工作，而 Features 可以更注重于函数/功能打包的工作</li>
<li><a href="https://drupal.org/project/fieldable_panels_panes" target="_blank">Fieldable Panel Panes</a> - 新的布局系统可以为区块添加字段，所以此模块不再是那么必要了</li>
<li><a href="https://drupal.org/project/float_filter" target="_blank">Float</a> - 有了内置的可视化编辑器，浮动效果不再需要单独的模块来支持了</li>
<li><a href="https://drupal.org/project/hidden_field" target="_blank">Hidden field</a> - 内核已有同等功能</li>
<li><a href="https://drupal.org/project/insert" target="_blank">Insert</a> - 插入图片的工作自然可以由可视化编辑器来处理 ^_^</li>
<li><a href="https://drupal.org/project/link" target="_blank">Link</a> - 内核提供 Link 字段</li>
<li><a href="https://drupal.org/project/module_filter" target="_blank">Module Filter</a> - D8 提供类似的、方便的模块管理工具</li>
<li><a href="https://drupal.org/project/picture" target="_blank">Picture</a> - 根据设备传输不同的图片以达到优化带宽的作用</li>
<li><a href="http://drupal.org/project/breakpoints" target="_blank">Breakpoint</a> - 为响应式布局设计提供定义尺寸等支持</li>
<li><a href="https://drupal.org/project/placeholder" target="_blank">Placehold</a> - 很实用的表单项提示功能，比如在input中显示“请输入您的用户名”，当鼠标焦点进入input元素时，提示文字消失</li>
<li><a href="https://drupal.org/project/restws" target="_blank">RestWS</a> - D8 内核现在提供 RESTful 服务（噢耶！！！）</li>
<li><a href="https://drupal.org/project/services" target="_blank">Services</a> - 同上，创业者和创业公司的福音</li>
<li><a href="https://drupal.org/project/stringoverrides" target="_blank">String Override</a> - D8 新的翻译功能能够提供此模块的大部分功能</li>
<li><a href="https://drupal.org/project/telephone" target="_blank">Telephone</a> - D8 内核还提供了“电话号码”字段，这个确实很必要哦，呵呵</li>
<li><a href="https://drupal.org/project/transliteration" target="_blank">Transliteration</a> - D8 内置 ASCII 转码功能</li>
<li><a href="https://drupal.org/project/user_picture_field" target="_blank">User Picture Field</a> - 用户头像现在使用内置的 Image Field 来处理吧</li>
<li><a href="https://drupal.org/project/views" target="_blank">Views</a> - Views 已纳入 D8 内核 :D</li>
<li><a href="https://drupal.org/project/views_bulk_operations" target="_blank">Views Bulk Operations</a> - 大部分功能已经可以由 D8 内置的 Views 实现的管理功能所替代了</li>
<li><a href="http://drupal.org/project/webform" target="_blank">Webform</a> - 通过将字段添加到联络表单（Contact Form），可以实现 Webform 的部分功能</li>
<li><a href="http://drupal.org/project/l10n_update" target="_blank">Localization Update</a> - D8 内核已经具备自动从线上下载翻译文件了 :D</li>
<li><a href="http://drupal.org/project/admin_language" target="_blank">Administration Language</a> - D8 支持自定义管理后台语言</li>
<li><a href="http://drupal.org/project/l10n_install" target="_blank">Localization Drupal Distribution</a> - D8 现在支持直接进行指定语言的安装了</li>
<li><a href="https://drupal.org/project/fallback_language_negotation" target="_blank">Fallback Language Negotiation</a> - 提供默认语言回滚机制</li>
</ul><p>　　长长一串列表看下来，不知道各位是怎么样的心情，不过从上面的内核模块变化来看，Drupal 8 在内容写作/编著、多语言、配置管理、布局管理等多方面有很多改善，值得期待哟。</p>
<p>原文标题：《<a href="https://lugir.com/drupal/documentation/core-module-changes-in-drupal8.html">Drupal 8 内核模块变化</a>》<br />原文地址：<a href="https://lugir.com/drupal/documentation/core-module-changes-in-drupal8.html">https://lugir.com/drupal/documentation/core-module-changes-in-drupal8.html</a></p></div></div></div><div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"><h3 class="field-label">标签: </h3><ul class="links inline"><li class="taxonomy-term-reference-0"><a href="/drupal-site-building">Drupal网站建设</a></li></ul></div>  </div>

  
  
  
</div>
  </div>
</div>
  </div>
      

    </div></div> <!-- /.section, /#content -->

    
  </div></div> <!-- /#main, /#main-wrapper -->

  
    <div id="footer-wrapper"><div class="section">

          <div id="footer-columns" class="clearfix">
        <div class="resp-cols resp-3-cols">
          <div class="col first">
            <div class="col-inner">
                <div class="region region-footer-firstcolumn">
    <div id="block-menu-menu-sidebar-services" class="block block-menu">

    <h2>Drupal 社区团队</h2>
  
  <div class="content">
    <ul class="menu clearfix"><li class="first leaf"><a href="/about" title="">关于我们</a></li>
<li class="leaf"><a href="/events" title="">社区活动</a></li>
<li class="last leaf"><a href="/services" title="">免费服务</a></li>
</ul>  </div>
</div>
  </div>
            </div>
          </div>
          
          <div class="col">
            <div class="col-inner">
                <div class="region region-footer-secondcolumn">
    <div id="block-menu-menu-sidebar-" class="block block-menu">

    <h2>团队成员</h2>
  
  <div class="content">
    <ul class="menu clearfix"><li class="first leaf"><a href="/members/all" title="">所有成员</a></li>
<li class="leaf"><a href="/members/architect" title="">架构师</a></li>
<li class="leaf"><a href="/members/designer" title="">设计师</a></li>
<li class="leaf"><a href="/members/themer" title="">前端工程师</a></li>
<li class="last leaf"><a href="/members/developer" title="">开发工程师</a></li>
</ul>  </div>
</div>
  </div>
            </div>
          </div>
          
          <div class="col last">
            <div class="col-inner">
                <div class="region region-footer-thirdcolumn">
    <div id="block-menu-menu-sidebar-solutions" class="block block-menu">

    <h2>联系我们</h2>
  
  <div class="content">
    <ul class="menu clearfix"><li class="first leaf"><a href="/pub" title="">发布任务</a></li>
<li class="leaf"><a href="/contact" title="">联系我们</a></li>
<li class="last leaf"><a href="/join-us" title="">加入我们</a></li>
</ul>  </div>
</div>
  </div>
            </div>
          </div>
        </div> <!-- .resp-cols .resp-3-cols -->
              </div> <!-- /#footer-columns -->
      
  </div></div> 
  
      <div id="footer" class="clearfix">
        <div class="region region-footer">
    <div id="block-boxes-copyright" class="block block-boxes block-boxes-simple">

    
  <div class="content">
    <div id='boxes-box-copyright' class='boxes-box'><div class="boxes-box-content"><div style="margin: 0px 20px;">Copyright © 2012 - 2016 <a href="http://www.drupalct.org">Drupal社区团队</a> 版权所有</div></div></div>  </div>
</div>
<div id="block-block-2" class="block block-block">

    
  <div class="content">
    <div id="traffic-analytics" style="display: none;">
<script>
function advagg_mod_1() {
  // Count how many times this function is called.
  advagg_mod_1.count = ++advagg_mod_1.count || 1;
  try {
    if (advagg_mod_1.count <= 40) {
      
<!--//--><![CDATA[// ><!--

var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?a6feab4f8197df259fbeb7832e8fba5a";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();

//--><!]]>


      // Set this to 100 so that this function only runs once.
      advagg_mod_1.count = 100;
    }
  }
  catch(e) {
    if (advagg_mod_1.count >= 40) {
      // Throw the exception if this still fails after running 40 times.
      throw e;
    }
    else {
      // Try again in 250 ms.
      window.setTimeout(advagg_mod_1, 250);
    }
  }
}
function advagg_mod_1_check() {
  if (window.jQuery && window.Drupal && window.Drupal.settings) {
    advagg_mod_1();
  }
  else {
    window.setTimeout(advagg_mod_1_check, 250);
  }
}
advagg_mod_1_check();</script></div>  </div>
</div>
  </div>
    </div> <!-- /#footer -->
  
</div></div> <!-- /#page, /#page-wrapper -->  
<!--[if lte IE 9]>
<script type="text/javascript" src="//drupalct.org/sites/default/files/advagg_js/js__ZbWbjkXZ67CB_y1qL_LTT7CgZF6p5WfsXv4UYmcLFHA__eH5yDFGtdD5H8DcEetZiZp64QwHb2TLlnIy0i-p8Ovo__LB5Z6Tg91OTzo44Ekv_obaj937oxBL5Ysq--Qq79p98.js#ie9-" onload="if(jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(true);};
function advagg_mod_2() {
  // Count how many times this function is called.
  advagg_mod_2.count = ++advagg_mod_2.count || 1;
  try {
    if (advagg_mod_2.count <= 40) {
      init_drupal_core_settings();

      // Set this to 100 so that this function only runs once.
      advagg_mod_2.count = 100;
    }
  }
  catch(e) {
    if (advagg_mod_2.count >= 40) {
      // Throw the exception if this still fails after running 40 times.
      throw e;
    }
    else {
      // Try again in 1 ms.
      window.setTimeout(advagg_mod_2, 1);
    }
  }
}
function advagg_mod_2_check() {
  if (window.init_drupal_core_settings && window.jQuery && window.Drupal) {
    advagg_mod_2();
  }
  else {
    window.setTimeout(advagg_mod_2_check, 1);
  }
}
advagg_mod_2_check();"></script>
<![endif]-->

<!--[if gt IE 9]>
<script type="text/javascript" src="//drupalct.org/sites/default/files/advagg_js/js__ZbWbjkXZ67CB_y1qL_LTT7CgZF6p5WfsXv4UYmcLFHA__eH5yDFGtdD5H8DcEetZiZp64QwHb2TLlnIy0i-p8Ovo__LB5Z6Tg91OTzo44Ekv_obaj937oxBL5Ysq--Qq79p98.js#ie10+" defer="defer" onload="if(jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(true);};
function advagg_mod_2() {
  // Count how many times this function is called.
  advagg_mod_2.count = ++advagg_mod_2.count || 1;
  try {
    if (advagg_mod_2.count <= 40) {
      init_drupal_core_settings();

      // Set this to 100 so that this function only runs once.
      advagg_mod_2.count = 100;
    }
  }
  catch(e) {
    if (advagg_mod_2.count >= 40) {
      // Throw the exception if this still fails after running 40 times.
      throw e;
    }
    else {
      // Try again in 1 ms.
      window.setTimeout(advagg_mod_2, 1);
    }
  }
}
function advagg_mod_2_check() {
  if (window.init_drupal_core_settings && window.jQuery && window.Drupal) {
    advagg_mod_2();
  }
  else {
    window.setTimeout(advagg_mod_2_check, 1);
  }
}
advagg_mod_2_check();"></script>
<![endif]-->

<!--[if !IE]><!-->
<script type="text/javascript" src="//drupalct.org/sites/default/files/advagg_js/js__ZbWbjkXZ67CB_y1qL_LTT7CgZF6p5WfsXv4UYmcLFHA__eH5yDFGtdD5H8DcEetZiZp64QwHb2TLlnIy0i-p8Ovo__LB5Z6Tg91OTzo44Ekv_obaj937oxBL5Ysq--Qq79p98.js" defer="defer" onload="if(jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(true);};
function advagg_mod_2() {
  // Count how many times this function is called.
  advagg_mod_2.count = ++advagg_mod_2.count || 1;
  try {
    if (advagg_mod_2.count <= 40) {
      init_drupal_core_settings();

      // Set this to 100 so that this function only runs once.
      advagg_mod_2.count = 100;
    }
  }
  catch(e) {
    if (advagg_mod_2.count >= 40) {
      // Throw the exception if this still fails after running 40 times.
      throw e;
    }
    else {
      // Try again in 1 ms.
      window.setTimeout(advagg_mod_2, 1);
    }
  }
}
function advagg_mod_2_check() {
  if (window.init_drupal_core_settings && window.jQuery && window.Drupal) {
    advagg_mod_2();
  }
  else {
    window.setTimeout(advagg_mod_2_check, 1);
  }
}
advagg_mod_2_check();"></script>
<!--<![endif]-->
<script type="text/javascript">
<!--//--><![CDATA[//><!--
function init_drupal_core_settings() {jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"team","theme_token":"sYyBtYVJOq7La7V0xUYFz8_4xjb6zAdCPnvJzvVDflY"}});
if(jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(false);}} if(window.jQuery && window.Drupal){init_drupal_core_settings();}
//--><!]]>
</script>
</body>
</html>
